package com.zys.mapper;

import com.zys.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 77052
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-12-12 23:31:33
* @Entity com.zys.domain.User
*/
@Mapper
public interface UserMapper {

//    @Select("select * from user where id = #{id}")
    User getUserById(Integer id);

    void addUser(User user);

    User findUserByName(String name);

    List<User> selectUserByCondition(User user);
}




